package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

/**
 * @author mcl
 * @date 2021/6/6 6:03 下午
 * @description
 */
public interface IUserDao {
    // 查询所有用户
    public List<User> findAll() throws Exception;
    // 根据条件查询
    public User findByCondition(User user) throws Exception;

    boolean save(User user);

    boolean update(User user);

    boolean delete(User user);
}
